package com.of.pojo;

import com.baomidou.mybatisplus.annotation.IdType;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("role")
public class Role extends BasePojo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String duty;
    private Boolean status;
    @TableField("sort_num")
    private Integer sortNum;
}
